package com.order.api.constant;

public enum OrderStateEnum implements BaseEnum<Integer>{
    INVALID(1,"无效"),
    EFFECTIVE(0,"有效")
    ;

    private Integer key;
    private String title;

    OrderStateEnum(Integer key,String title){
        this.key=key;
        this.title=title;
    }

    @Override
    public Integer getKey() {
        return this.key;
    }

    @Override
    public String getTitle() {
        return this.title;
    }
}
